using System.ServiceModel.Channels;
using YBBEST.Office365Portal.Core;

namespace YBBEST.Office365Portal.CoreTests.Stubs
{
    public class HttpRequestMessageBuilderStub : IHttpRequestMessageBuilder
    {
        public HttpRequestMessageProperty Prop { get; set; }
        public int TimesBuildCalled ;

        public HttpRequestMessageProperty Build()
        {
            TimesBuildCalled++;
            Prop=new HttpRequestMessageProperty();
            return Prop;
        }
    }
}